package slidingpenguins.utils.imagecache {
	import flash.events.IEventDispatcher;
	import flash.utils.ByteArray;

	[Event(name="complete", type="flash.events.Event")]
	[Event(name="progress", type="flash.events.ProgressEvent")]
	[Event(name="error", type="flash.events.ErrorEvent")]
	[Bindable]
	public interface CachedImage extends IEventDispatcher {
		function get bytes():ByteArray;
		function get isReady():Boolean;
		function get isInErrorState():Boolean;
	}
}
